<!DOCTYPE html>
<html lang="en" class="dark">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chatterbox</title>
    <style>
      #app > .loading {
        font-family: 'JoinedUp';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 60px;
        font-weight: bold;
        color: black;
        display: flex;
        align-items: center;
      }
      #app > .loading > .logo {
        width: 120px;
        height: 120px;
      }
      #app > .loading > span {
        position: relative;
        display: inline-block;
        animation: wavyAnimate 1.5s ease-in-out infinite;
      }
      #app > .loading > .character-0 {
        animation-delay: calc(0.1s * 0);
      }
      #app > .loading > .character-1 {
        animation-delay: calc(0.1s * 1);
      }
      #app > .loading > .character-2 {
        animation-delay: calc(0.1s * 2);
      }
      #app > .loading > .character-3 {
        animation-delay: calc(0.1s * 3);
      }
      #app > .loading > .character-4 {
        animation-delay: calc(0.1s * 4);
      }
      #app > .loading > .character-5 {
        animation-delay: calc(0.1s * 5);
      }
      #app > .loading > .character-6 {
        animation-delay: calc(0.1s * 6);
      }
      #app > .loading > .character-7 {
        animation-delay: calc(0.1s * 7);
      }
      #app > .loading > .character-8 {
        animation-delay: calc(0.1s * 8);
      }
      #app > .loading > .character-9 {
        animation-delay: calc(0.1s * 9);
      }
      @keyframes wavyAnimate {
        0%,45%,100%{
          transform: translateY(0);
        }
        90%{
          transform: translateY(-4px);
        }
      }
    </style>
    <script>
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?bd3b06d3a76d7ce180ccd213e2170937";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
  </head>
  <body>
    <div id="app">
      <div class="loading">
        <img class="logo" src="https://chatterbox.gumingchen.icu/resource/static/logo-black.png" />
        <span class="character-0">C</span>
        <span class="character-1">h</span>
        <span class="character-2">a</span>
        <span class="character-3">t</span>
        <span class="character-4">t</span>
        <span class="character-5">e</span>
        <span class="character-6">r</span>
        <span class="character-7">b</span>
        <span class="character-8">o</span>
        <span class="character-9">x</span>
      </div>
    </div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
